//
//  RotateButton.m
//  InTheSnow
//
//  Created by di on 7/23/09.
//  Copyright 2009 INTELLECTSOFT. All rights reserved.
//

#import "RotateButton.h"


@implementation RotateButton

- (id) init
{
	self = [super init];
	if (self != nil) {
		self.userInteractionEnabled = YES;
		is = FALSE;
	}
	return self;
}

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
//	if (is=!is) 
	{		
		[[NSNotificationCenter defaultCenter] postNotificationName:@"rotate" object:nil];
		return;
	}
//	[[NSNotificationCenter defaultCenter] postNotificationName:@"norotate" object:nil];
}

 


@end
